package org.sqp.base;

import java.util.ArrayList;
import java.util.List;

public class AutoSignMachine {
    private List<SignIn> gresses = new ArrayList<SignIn>();

    public void register(SignIn signIn){
        gresses.add(signIn);
    }

    public void autoSign(){
        for (SignIn signIn:gresses){
            System.out.println(signIn.title());
            signIn.login();
            signIn.sign();
        }
    }
}
